package com.fpd.model.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "系统消息表返回数据模型")
public class SysMessageVO {

	@ApiModelProperty(value = "主键ID(与业务无关)", example = "新增不填")
	private String id;

	@ApiModelProperty(value = "消息创建时间", example = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;

	@ApiModelProperty(value = "消息标题", example = "")
	private String msgTitle;

	@ApiModelProperty(value = "消息内容", example = "")
	private String msgContent;

	@ApiModelProperty(value = "消息状态（0：未读；1：已读）", example = "0")
	private Integer msgState;

	@ApiModelProperty(value = "类型（1：系统消息；2：提醒）", example = "1")
	private Integer msgType;

	@ApiModelProperty(value = "消息创建人", example = "")
	private String createUserName;
}